# _*_ coding ：utf-8 _*_
# @Time : 2023/9/21 14:30
# @Author : 计科1914-02-陈鸿宇
# @File : 4.4
# @Project : 作业

def a():
    with open("a.txt", "r",encoding='utf-8-sig') as f:
        data = f.read()
        print(data)


def b():
    with open("b.txt", "w",encoding='utf-8-sig') as f:
        f.write('''天津职业技术师范大学
计科1914
0306191402
陈鸿宇
''')

if __name__ == '__main__':
    a()
    b()

